package idoc.handOn.workshop.service;

import idoc.handOn.workshop.model.Word;

import java.io.File;
import java.util.List;
import java.util.Set;


public interface WordService {
	
	
	/**
	 * load the words from a file
	 * @param file
	 * @return
	 */
	public Set<Word> getWords(File file);
	
	/**
	 * This method returns a list of common words 
	 * @param words. The word sets that need to be compared
	 * @return
	 */
	public List<Word> loadCommonWords(List<Set<Word>> words);
	
}
